package com.dd.ms.provider.web.respository;

import com.dd.ms.provider.web.mapper.DataObjectMapper;
import com.dd.ms.provider.web.pojo.DO.DataObjectDO;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Repository;

/**
 * @Author liuxianmeng
 * @CreateTime 2025/6/22 18:17
 * @Description 仓储层
 */
@Repository
@RequiredArgsConstructor
public class DataObjectRepository {

    private final DataObjectMapper dataObjectMapper;

    public DataObjectDO getOne(Long id) {
        return dataObjectMapper.selectById(id);
    }
}
